package net.zjitc.springboot_mybatist.dao;

import org.apache.catalina.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.stereotype.Repository;

@Mapper
public interface UserDao {
    @Select("select * from user where id=#{id};")
    public User getById(int id);
}
